<template>
  <div style="padding-top: 50px;text-align: center">
    <img :src="success" style="margin-bottom: 20px">
    <div style="font-size: 20px;font-weight: bolder;margin-bottom: 30px">恭喜，课程已经配置完成！</div>
    <el-button type="primary" @click="reset()">继续添加课程</el-button>
    <el-button type="primary" @click="close(true)">返回课程列表</el-button>
  </div>
</template>

<script>
  import success from '@/assets/success.png'
  export default {
    name: "CourseFinish",
    props:['reset','close'],
    data(){
      return {
        success:success
      }
    },
    created() {
      console.log(this)
    },
    methods: {}
  }
</script>

<style scoped>

</style>
